# -*- utf8-t -*-
# 参考项目：https://gitee.com/codetimer/IpTable/tree/master/IpTable
# python3 windows api访问：https://github.com/lyxw/codes/blob/master/tools/PrintScreen.py

import ctypes
from ctypes.wintypes import WORD, DWORD, LONG
import pywin
import win32clipboard
import sys, time
import win32api, win32con

Iphlpapi = ctypes.cdll.LoadLibrary("Iphlpapi")

print(Iphlpapi.GetExtendedTcpTable)
# PVOID tcptable  PDWORD  size    BOOL order   ULONG af  TCP_TABLE_CLASS  ULONG
tcp_tables = ctypes.c_void_p()
#print(tcp_tables)
ret = Iphlpapi.GetExtendedTcpTable(1)
print(ret)



print("666")
